const expect=require('chai').expect;

describe('within',()=>{
    it('number',()=>{
        expect(3).within(1,5);
    });

    it('string',()=>{
        expect('x').within('a','z');
    });

    it('mix',()=>{
        expect('"3"').within(1,5);
    });

    it('start',()=>{
        expect(1).within(1,3);
    });

    it('end',()=>{
        expect(3).within(1,3);
    });

});